home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19980901-19981211 / 000309_news@newsmaster….columbia.edu _Mon Nov 16 21:02:05 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA08422
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 16 Nov 1998 21:02:05 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id VAA23506
  7.     for kermit.misc@watsun; Mon, 16 Nov 1998 21:02:05 -0500 (EST)
  8. Path: news.columbia.edu!panix!news-peer.gip.net!news.gsl.net!gip.net!newsfeed.berkeley.edu!xmission!news.cc.utah.edu!cc.usu.edu!jrd
  9. From: jrd@cc.usu.edu (Joe Doupnik)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: How to get MS-DOS Kermit 3.15 to print automatically?
  12. Message-ID: <MBKimWX58tuY@cc.usu.edu>
  13. Date: 16 Nov 98 18:53:31 MDT
  14. References: <72q0ac$dft$1@Jupiter.mcs.net>
  15. Organization: Utah State University
  16. Lines: 51
  17. Xref: news.columbia.edu comp.protocols.kermit.misc:9516
  18.  
  19. In article <72q0ac$dft$1@Jupiter.mcs.net>, ddellutr@MCS.COM (Dale Dellutri) writes:
  20. > I'm trying to get MS-DOS Kermit 3.15 to automatically print whatever
  21. > is sent to the screen.  I set up the following definition for the
  22. > remote kermit (not the one running on the PC), then sent a file using
  23. > it, as suggested in the C-Kermit book:
  24. > define VTPRINT xecho \27[5i, type \%1, xecho \12\27[4i
  25. > Then I started C-Kermit 6.1.193 Beta05 on the remote system and sent a
  26. > file.  When I used MS-DOS Kermit 3.15 on the PC, this did not work.
  27. > When I used Terminal (the Windows standard accessory) it did work.
  28. > What would I need to do to make MS-DOS Kermit 3.15 work?
  29. > -- 
  30. > Dale Dellutri - ddellutr@mcs.net
  31. ----------
  32.     Let's see if we can understand the test situation, because my
  33. test below works perfectly.
  34.     What I did. Using an editor I made this one line file test.txt:
  35.  
  36. not printable<ESC>[5istart printing this text.<ESC>[4iinvisible again.
  37.  
  38. where <ESC> is actually byte decimal 27, Escape. I put this on my Unix
  39. machine. On the MSK side, running a VT320 terminal emulator I told MSK
  40. SET PRINTER PRINTER.TXT as a convenient way of capturing what otherwise
  41. goes to DOS' PRN device. Then I told Unix   cat test.txt. 
  42.     On my screen I saw
  43. $ cat test.txt
  44. not printableinvisible again.
  45. $
  46.  
  47. In file printer.txt I found this text:
  48. start printing this text.
  49.  
  50.     So my test demonstrated that Esc [ 5/4 i do work as designed in
  51. MSK. And they work only when the VT200/300 level terminal emulation is
  52. active.
  53.     Not being satisfied, I then started CKermit on the Unix machine
  54. and at its command prompt I typed exactly your DEF VTPRINT... command.
  55. Then still talking from MSK's VT320 terminal emulator via Telnet to the
  56. Unix machine, with CKermit still stilling at its command prompt, I said
  57.       vtprint thisfile.txt
  58. What I saw on my MSK screen was exactly nothing new, but file printer.txt
  59. had the contents of thisfile.txt. This again shows both ends are doing what
  60. they should.
  61.     What is unclear in your message is whether or not MSK was in
  62. terminal emulation mode, and if so what kind of terminal, and if all
  63. that is correct then does DOS drive your printer ok. Again, terminal
  64. emulation mode is not active when transfering files, nor when we are
  65. looking at the Kermit prompt.
  66.         Joe D.